/*************************************************************************
	> File Name: 003.按照格式输出，最后一个数字后不要有空格.c
	> Author: Maureen 
	> Mail: Maureen@qq.com 
	> Created Time: 五  8/20 22:56:58 2021
 ************************************************************************/

#include <stdio.h>

int main() {
    for (int i = 0; i < 10; i++) {
        i && printf(" ");
        printf("%d", i);
    }
    
    printf("\n==============\n");
    //或者
    for (int i = 0; i < 10; i++) {
        i == 0 || printf(" ");
        printf("%d", i);
    }
    
    return 0;
}
